-- GENERATED SPELL FOR [Kolkar Marauder] --


function spell0_3275(pUnit, Event) --@Rushing Charge,Self--
pUnit:FullCastSpellOnTarget(6268,pUnit)
pUnit:RegisterEvent('Sorts_3275', 3000, 1)
end

function spell1_3275(pUnit, Event) --@Strike,n/a--
pUnit:FullCastSpellOnTarget(11976,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_3275', 616, 1)
end

function spell2_3275(pUnit, Event) --@Tetanus,n/a--
pUnit:FullCastSpellOnTarget(8014,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_3275', 643, 1)
end

function Sorts_3275(pUnit, Event)
local choix_sorts_3275 = math.random(0, 2)
if choix_sorts_3275 == 0 then
pUnit:RegisterEvent('spell0_3275', 1, 1)
end
if choix_sorts_3275 == 1 then
pUnit:RegisterEvent('spell1_3275', 1, 1)
end
if choix_sorts_3275 == 2 then
pUnit:RegisterEvent('spell2_3275', 1, 1)
end
end

function mob3275_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_3275', math.random(1500, 3000), 1)
end

function mob3275_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob3275_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob3275_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(3275, 1, 'mob3275_Action')
RegisterUnitEvent(3275, 2, 'mob3275_Leave')
RegisterUnitEvent(3275, 3, 'mob3275_Kill')
RegisterUnitEvent(3275, 4, 'mob3275_Die')
